package com.huixue.zdb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 商家商品图片表
 * </p>
 *
 * @author ZhouHuRun
 * @since 2020-09-23
 */
public class MerchantImage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品图片地址
     */
    private String miAddress;

    /**
     * 商品id
     */
    private Integer cmId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMiAddress() {
        return miAddress;
    }

    public void setMiAddress(String miAddress) {
        this.miAddress = miAddress;
    }

    public Integer getCmId() {
        return cmId;
    }

    public void setCmId(Integer cmId) {
        this.cmId = cmId;
    }

    @Override
    public String toString() {
        return "MerchantImage{" +
        "id=" + id +
        ", miAddress=" + miAddress +
        ", cmId=" + cmId +
        "}";
    }
}
